﻿using System;
using TI_BLE_HCI_ClientLib.GenericHCIEntities;
using TI_BLE_HCI_ClientLib.HCIBaseEntities;

namespace TI_BLE_HCI_ClientLib.HCIEvents
{
    public class HCIEvent_HCIEXT_SystemReset : HCIVendorSpecificEvent
    {
        private HCIVendorSpecificEventHostErrorCode _status;
        private ushort _cmdOpCode;

        public ushort CmdOpCode
        {
            get { return _cmdOpCode; }
            set { _cmdOpCode = value; }
        }

        public HCIVendorSpecificEventHostErrorCode Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public HCIEvent_HCIEXT_SystemReset(
            HCIVendorSpecificEventHostErrorCode status,
           ushort cmdOpCode)
            : base((ushort)HCIVendorSpecificEventEventOpcode.HCIEXT_SystemReset)
        {
            _status=status;
            _cmdOpCode=cmdOpCode;
        }
    }
}
